<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META  http-equiv="Content-Type"  content="text/html;charset=UTF-8">
	<title><fmt:message key="login.title" /></title>
	<link rel="stylesheet"
		href="<c:url value="/css/blueprint/screen.css" />" type="text/css"
		media="screen, projection">
		<link rel="stylesheet"
			href="<c:url value="/css/blueprint/print.css" />" type="text/css"
			media="print">
			<!--[if lt IE 8]>
		<link rel="stylesheet" href="<c:url value="/css/blueprint/ie.css" />" type="text/css" media="screen, projection">
	<![endif]-->
</head>
<body>
	<div class="container">
		<form:form commandName="account"  modelAttribute="account"  action="${ctx}/account/login"  method="post">
			<div style="width: 500px;">
			<fieldset>
				<legend>
					<h2><fmt:message key="login.title" /></h2>
				</legend>
                <table>		
				<tr>	
				   <td><form:label for="username" path="username" cssErrorClass="error">用户名:</form:label></td>
				   <td><form:input path="username" /><form:errors path="username" /></td>
				</tr>
				<tr>	
				   <td><form:label for="password" path="password" cssErrorClass="error">密码:</form:label></td>
				   <td><form:password path="password" /><form:errors path="password" /></td>			   
				</tr>
				<tr>	
				   <td><form:label for="usertype" path="usertype" cssErrorClass="error">用户类型:</form:label></td>
				   <td><form:radiobuttons path="usertype" items="${usertypeOptions }"/><form:errors path="usertype" /></td>				   
				</tr>
				<tr>	
				   <td>jcaptcha code:</td>
				   <td><img src="/jcaptcha"><input type='text' name='j_captcha_response' value=''></td>				   
				</tr>
				
				
				<tr>	
				  <td>&nbsp;</td>		
				  <td><input type="submit" value="登录"/>&nbsp; <input type="reset" value="取消" /></td>		   
				</tr>
				</table>	
				</div>
		</form:form>
</body>
</html>